home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 14992 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: druid.borland.com!usenet
  2. From: pete@borland.com (Pete Becker)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Problem with Borland C++ v4.52
  5. Date: 3 Apr 1996 02:08:45 GMT
  6. Organization: Borland International
  7. Message-ID: <4jsmjd$mrh@druid.borland.com>
  8. References: <4j973t$ctm@newsbf02.news.aol.com>
  9. NNTP-Posting-Host: pbecker.borland.com
  10. Mime-Version: 1.0
  11. Content-Type: Text/Plain; charset=ISO-8859-1
  12. X-Newsreader: WinVN 0.99.5
  13.  
  14. In article <4j973t$ctm@newsbf02.news.aol.com>, roytoo@aol.com says...
  15. >
  16. >I am having a runtime problem with Borland C++ v4.52.  When I try to input
  17. >a real number (i.e. 12.5) using cin >> to a variable defined as a double,
  18. >float or long double, I get a "floating point: overflow" error.  This
  19. >problem disappears if I input numbers in the format:  1.25e1.  However, if
  20. >i use the format:  12.5e0, the runtime error occurs again.
  21.  
  22. This sounds like the dreaded Plus Pack striking again. Try disabling the System 
  23. Agent and see if the problem goes away. System Agent also plays hell with comm 
  24. ports. The floating point problem goes away if you install the Win95 patch on 
  25. top of Win95 with the Plus Pack.
  26.  
  27.